package com.leha.core.entity.vo;

import com.leha.core.entity.mybatis.LhGjylImgs;
import com.leha.core.entity.mybatis.LhGjylQuestion;
import lombok.Data;

import java.util.List;
@Data
public class ImgAndQuestions_ implements Comparable<ImgAndQuestions_>{
    LhGjylImgs imgs;
    List<LhGjylQuestion> questions;

    @Override
    public int compareTo(ImgAndQuestions_ o) {
        return imgs.getCount()> o.getImgs().getCount()? -1 : 1;
    }
}
